package com.bw.service;

import com.bw.domain.Sugar;
import com.bw.mapper.SugarMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SugarServiceImpl implements SugarService {
    @Autowired
    SugarMapper sugarMapper;

    @Override
    public List<Sugar> getSugarList1() {
        return sugarMapper.getSugarList1();
    }

    @Override
    public List<Sugar> getSugarList2() {
        return sugarMapper.getSugarList2();
    }

    @Override
    public List<Sugar> getSugarList3() {
        return sugarMapper.getSugarList3();
    }

    @Override
    public List<Sugar> getSugarList4() {
        return sugarMapper.getSugarList4();
    }
}
